﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace WinformToolkit.Drawing
{
    public class PropertiesRectangle : PropertiesGraphics
    {
        public override DrawArea.DrawToolType Type => DrawArea.DrawToolType.Rectangle;

        public PropertiesRectangle(float x, float y, float width, float height)
        {
            this.X = x;
            this.Y = y;
            this.Width = width;
            this.Height = height;
        }

        /// <summary>
        /// 左上角的X
        /// </summary>
        public float X { get; set; }

        /// <summary>
        /// 左上角的Y
        /// </summary>
        public float Y { get; set; }

        /// <summary>
        /// 矩形宽度
        /// </summary>
        public float Width { get; set; }

        /// <summary>
        /// 矩形高度
        /// </summary>
        public float Height { get; set; }
    }
}
